﻿using FrameworkCore.Extensions;
using System.Text.Json.Serialization;

namespace AiBLSmartEdu.Module.SmartStockSense.API.DTOs;

public class BollTechnicalIndicatorDto
{
    /// <summary>
    /// 时间戳
    /// </summary>
    [JsonPropertyName("t")]
    [JsonConverter(typeof(CustomDateTimeConverter))]
    public DateTime? T { get; set; }

    /// <summary>
    /// U值
    /// </summary>
    [JsonPropertyName("u")]
    public decimal? U { get; set; }

    /// <summary>
    /// D值
    /// </summary>
    [JsonPropertyName("d")]
    public decimal? D { get; set; }

    /// <summary>
    /// M值
    /// </summary>
    [JsonPropertyName("m")]
    public decimal? M { get; set; }
}
